<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
<xsl:template match="HeaderAndClass">

<xsl:comment>IF YOU CAN SEE THIS MESSAGE AND YOU HAVE NOT 'view sourced' YOU MAY HAVE AN INSTALLATION PROBLEM</xsl:comment>


<html>
<head>
<title>GENNIT Readme for <xsl:value-of select="HeaderInfo/ProjectName"/> CakePHP Project</title>
    <style type="text/css">
    
        body { font-family: 'Century Gothic', 'Verdana'; font-size:14pt; }
        #title { font-size:22pt; margin-left:10px; }
        p { margin-left:10px; }
        ul li { margin-left:10px; margin-bottom:20px; }
        div.tip { border:solid 1px #c0c0c0; background-color:#FFFFDD; padding:10px; font-size:10pt; margin-left:40px; margin-right:40px; }
        span.code { font-family: 'Courier New'; }
	table { margin-left:20px; width:90%; border-collapse:collapse; }
	table tr td { border:solid 1px #f0f0f0; padding:10px; }
    </style>

</head>
<body>
<a href="http://www.gennit.com"><img src="http://www.gennit.com/img/logo.png" border="0" alt="GENNIT Logo (invisible if offline)" style="vertical-align:middle" /></a><div id="title"><xsl:value-of select="HeaderInfo/ProjectName"/> Project</div>

<script>if (document.location.href.indexOf ( 'http://' ) == -1 ) { alert ( 'It does not appear you are viewing this file on your server\nIf this is correct you have viewed this file locally and have not\ninstalled this project on CakePHP'); }</script>

<p>
If you are viewing this file on your server, you have correctly copied the CakePHP GENNIT Template
into your CakePHP installation. Ensure that you have generated your database from the script provided and
that the database connection configuration string is set correctly (located in app/config/database.php). See the
<a href="http://manual.cakephp.org/chapter/configuration">CakePHP Configuration Section</a> for more information 
on configuring Cake, if you have not already done so.
</p>
<hr size="1"/>
<p>
All controllers created from your template have scaffolding enabled. CakePHPs built in scaffolding allows you to view, 
edit, add and delete entries for your models without having to write any custom controls. See the <a href="http://manual.cakephp.org/chapter/scaffolding">CakePHP Manual for Scaffolding</a> for more
information about this subject.
</p>


<p>Listed below are the objects you defined in the designer and links to their scaffolding pages.</p>

<ul>
<xsl:for-each select="Classes/Class">
<li><a><xsl:attribute name="href"><xsl:value-of select="Name"/>s</xsl:attribute><xsl:value-of select="Name"/>s</a></li>
</xsl:for-each>
</ul>

<hr size="1"/>

<p>A test action has been placed in all controllers, which a linked view template to demonstrate CakePHP functionality.</p>

<ul>
<xsl:for-each select="Classes/Class">
<li><a><xsl:attribute name="href"><xsl:value-of select="Name"/>s/get<xsl:value-of select="Name"/>List</xsl:attribute><xsl:value-of select="Name"/>s/get<xsl:value-of select="Name"/>List</a></li>
</xsl:for-each>
</ul>



</body>
</html>
    </xsl:template>
  

</xsl:stylesheet>
